<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018-6-13
  Time: 20:42
  To change this template use File | Settings | File Templates.8
--%>
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<meta http-equiv="X-UA-Compatible" content="IE=edge,IE=10,chrome=1">
<%@ include file="/WEB-INF/jsp/sys/css.jsp"%>
<html> 
<head>

    <script type = "text/javascript" src = "${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/ctrl/dashboard.js" ></script >
    <%--<script type = "text/javascript" src = "${cp:SYS_VALUE('app.staticfile.home')}/vue/js/jquery.chatWindow.js" ></script >
    <script type = "text/javascript" src = "${cp:SYS_VALUE('app.staticfile.home')}/vue/js/base64.js" ></script >--%>
    <link rel = "stylesheet" type = "text/css" href = "${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/css/dashboard.css" >
    <title >陕西省发展与改革委员会协同办公政务一体化平台</title >
    <script>
        window.ContextPath = '<%= request.getContextPath()%>/';
        window.ViewContextPath ='${cp:SYS_VALUE("app.staticfile.home")}/';
        window.nginxpath='${cp:SYS_VALUE("nginxpath")}/';
    </script>
</head>
<body class="bodyClass">
<div class = "top_div_cls" >
    <div class = "top_info_cls" >
        <p class = "top_left_cls" >
            <span >
                <iframe width="420" style="margin-top: -17px;
    margin-left: 23px;" scrolling="no" height="50" frameborder="0" allowtransparency="true" src="http://plugin.tianqijun.com/index.php?c=code&id=12&icon=1&num=1&site=12&py=xian"></iframe>
               </span >
        </p >
        <p class = "top_right_cls" >
			<span >${currentTime}</span >
            <span >|</span >
            <span >${xq}</span >
        </p >
    </div >
</div >
<div class = "main_div_cls" >
    <div class = "logo_div_cls" >
        <img src = "${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/image/title.png" alt = "陕西省发展和改革委员会" />
    </div >
    <div style="width: 200px;
    float: right;
    margin-top: -55px;
    margin-right:67px">
        <input type="text" name="searchValue" id="searchValue"  autocomplete="off" class="layui-input" value=""/>
      </div>
    <div style="width: 200px;
    float: right;
    margin-top: -55px;
    margin-right:-70px">

        <a class="layui-btn layui-btn-warm" href="javascript:searchcontent()" >搜索</a>
    </div>
<%--      <div class = "carousel_div_cls float_left_cls" >
    	 <div class="layui-carousel" id="carousel">
  		  <div carousel-item>
   			 <div><img src = "${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/image/indexDemon1.png" alt = "陕西省发展和改革委员会" /></div>
   			 <div><img src = "${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/image/indexDemon4.png" alt = "陕西省发展和改革委员会" /></div>
 		 </div>
		</div>
     </div> --%>
     <div class = "carousel_div_cls float_left_cls">
      <iframe id="leftPage" src="${cp:SYS_VALUE('app.staticfile.home')}/system/layui/dashWindowPlatLeftPage" style="width: 780px;height: 320px;border: none;"></iframe>
     </div>
    <div class = "user_login_cls float_left_cls" >
        <div class = "title_div_cls float_left_cls short" >
            <p class = "title_p_cls" ><img src="${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/image/yhdllan.png">用户登录</p >
        </div >
        <div class = "user_login_div" >
        	<div class = "user_login_div_left">
        	<span class="user_login_div_left_wel">欢迎您！</span ><br>
        	<span class="user_login_div_left_name">姓名：${sessionScope.SPRING_SECURITY_CONTEXT.authentication.principal.userInfo.userName}</span ><br>
        	<span class="user_login_div_left_name">处室：${primaryName}</span >
        	</div>
        	<div class = "user_login_div_right">
        	<img class="layui-upload-img" width="120px" height="110px" id="people" src = "${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/image/ren.png"/>
        	</div>
        	<div class = "user_login_div_down">
        		<div class="user_login_div_downleft">
        			<p class="modifyButton"> <a id="modifyButton" class="layui-btn modifyButtonA onEdit" >修改个人信息</a></p><br>
        		  	<p class="loginOut"><a id="loginOut" class="layui-btn loginOutA"  href="${cp:SYS_VALUE('app.staticfile.home')}/system/layui/logout">退出</a></p>
        		</div>
        		<div class="user_login_div_downright">
        			<p class="enter"> <a id="enter" class="layui-btn enterA" href="javascript:window.location.href='${cp:SYS_VALUE('app.staticfile.home')}/system/layui/dashWindow';">进入工作平台</a></p><br>
        	  	
        		</div>
        	</div> 
        </div >
    </div >
    <%--<div style="position: fixed;float: right;right: 0px;top:100px;background-color: white;" class="centit-im" userCode="${sessionScope.SPRING_SECURITY_CONTEXT.authentication.principal.userInfo.userCode}" userName="${primaryName}——${sessionScope.SPRING_SECURITY_CONTEXT.authentication.principal.userInfo.userName}">
        <img style="cursor: pointer;width: 30px;height: 30px" src="${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/images/qq.jpg"/>
    </div>--%>

    <div style="position: fixed;float: right;right: 0px;top:200px;width: 100px;height: 300px;background-color: white" id="madiv">
            <img style="cursor: pointer; margin-top: -28px;position: absolute;
    margin-left: 22px;" src="${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/image/close.png" onclick="close_deal_result()"/>
        <div >
            <img src = "${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/image/ydbgpt.png" alt = "移动办公平台" />
            <p >移动办公平台</p >
            <p>扫码下载</p>
        </div >
        <div >
            <img src = "${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/image/wxfwh.png" alt = "微信服务号" />
            <p >微信服务号</p>
            <p> 扫码关注</p >
        </div >
    </div>
    <div style="position: fixed;float: right;right: 0px;top:200px;background-color: white;display: none" id="pendiv">
            <img style="cursor: pointer" src="${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/image/open.png" onclick="open_deal_result()"/>
    </div>
    <div>
    <iframe id="downPage" src="${cp:SYS_VALUE('app.staticfile.home')}/system/layui/dashWindowPlatDownPage?from=login" style="width: 1200px;height: 1152px;border: none;">
    </iframe>
    </div>
</div>

    <div class = "bottom_div_cls" >
        <div class = "bottom_info_div_cls" >
            <p >主办：陕西省发展和改革委员会&nbsp;&nbsp;&nbsp;&nbsp;陕西省信息中心技术支持</br>地址：新城大院8号楼&nbsp;&nbsp;&nbsp;&nbsp;邮编：710006</p >
        </div >
    </div >

</body >
<script type="text/javascript">
    /*$.im.contentPath = 'http://localhost:8080/webim';
    var config={
        ifOpenWindow:true,
        ifRenderToBtn :false,
        testBrowser  :  true

    };
    $('.centit-im').im(config);*/
function  close_deal_result() {
    $("#madiv").hide();
    $("#pendiv").show();
}
function open_deal_result() {
    $("#madiv").show();
    $("#pendiv").hide();
}

$(document).ready(
		function() {
	/* 	setTimeout(function(){
			$("#downPage").load("${cp:SYS_VALUE('app.staticfile.home')}/system/layui/dashWindowPlatDownPage",function(response,status,xhr){});   //div的id用来load刷新   请求后台
		}, 500); */
			
		});


layui.config({
	base : "/centit-ip/modules/util/"//自定义加载的模块
}).use(['form','layer','jquery','layedit','laydate','laypage','table','element'],function(){ 
	var form = layui.form,
	layer = parent.layer === undefined ? layui.layer : parent.layer,
	laypage = layui.laypage,
	layedit = layui.layedit,
	laydate = layui.laydate,
	$ = layui.jquery;
	var table = layui.table;
	var element = layui.element;
	
	
	/*
	**新增
	*/
	$(window).one("resize",function(){
		$(".onEdit").click(function(){
			var index = layui.layer.open({
				title : "编辑用户信息",
				type : 2,
				offset: '100px',
				skin:'layui-layer-molv',
				content : "${cp:SYS_VALUE('app.staticfile.home')}/system/layui/goEdit",
				area: ["700px","500px"],
				success : function(layero, index){
					
				}
			})			
		})
	}).resize();
})
    function searchcontent() {
    var url='${cp:SYS_VALUE('app.staticfile.home')}/modules/dashboard/essearch.jsp';
        url+="?queryWord="+$("#searchValue").val();
        window.open(url);
    }
</script>
</html>
